/*
 * Project CHEN Rendering Engine : /shape.cpp
 * Created: 2020-12-16, Last modified:  2021-03-03
 * 
 * This is the default descriptor.
 * 
 * Copyright (C) 2021 Hineven (hineven@pku.edu.cn)
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include "shape.hpp"
namespace chen {

void Shape::uniformSample (const Point2 & u, Interact * si, Point2 * uv, Float * pdf) const {
    unused(u);
    unused(si);
    unused(uv);
    unused(pdf);
    LOG(FATAL) << "unimplemented function called.";
}

void Shape::uniformSampleFrom(
    const Point2 & u, const Interact & from,
    Interact * si, Point2 * uv, Float * pdf
) const {
    unused(u);
    unused(si);
    unused(from);
    unused(uv);
    unused(pdf);
    LOG(FATAL) << "unimplemented function called.";
}

}